set(TARGET_NAME lib$<subdir_name>)
file(GLOB_RECURSE SRC_FILES ${CMAKE_CURRENT_SOURCE_DIR}/**/*.c ${CMAKE_CURRENT_SOURCE_DIR}/**/*.cpp)
project(${TARGET_NAME} LANGUAGES C CXX)
add_library(${TARGET_NAME} STATIC ${SRC_FILES})
target_include_directories(
${TARGET_NAME} PUBLIC
	$<compileOption_includes>
)